package com.scgl.process.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工序任务单对象 scgl_process
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class ScglProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  任务单编号 */
    private String processId;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String pend;

    /** 生产批次 */
    @Excel(name = "生产批次")
    private String batch;

    /** 优先级 */
    @Excel(name = "优先级")
    private String orderLevel;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String processName;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 工单数量 */
    @Excel(name = "工单数量")
    private Long plannedProduction;

    /**  报工数量 */
    @Excel(name = " 报工数量")
    private Long reportedQuantity;

    /** 车间 */
    @Excel(name = "车间")
    private Long shopId;

    /** 生产线 */
    @Excel(name = "生产线")
    private Long productId;

    /** 工艺 */
    @Excel(name = "工艺")
    private Long craftId;

    /** 上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startdate;

    /** 下线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date denddate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setProcessId(String processId) 
    {
        this.processId = processId;
    }

    public String getProcessId() 
    {
        return processId;
    }
    public void setPend(String pend) 
    {
        this.pend = pend;
    }

    public String getPend() 
    {
        return pend;
    }
    public void setBatch(String batch) 
    {
        this.batch = batch;
    }

    public String getBatch() 
    {
        return batch;
    }
    public void setOrderLevel(String orderLevel) 
    {
        this.orderLevel = orderLevel;
    }

    public String getOrderLevel() 
    {
        return orderLevel;
    }
    public void setProcessName(String processName) 
    {
        this.processName = processName;
    }

    public String getProcessName() 
    {
        return processName;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setPlannedProduction(Long plannedProduction) 
    {
        this.plannedProduction = plannedProduction;
    }

    public Long getPlannedProduction() 
    {
        return plannedProduction;
    }
    public void setReportedQuantity(Long reportedQuantity) 
    {
        this.reportedQuantity = reportedQuantity;
    }

    public Long getReportedQuantity() 
    {
        return reportedQuantity;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setCraftId(Long craftId) 
    {
        this.craftId = craftId;
    }

    public Long getCraftId() 
    {
        return craftId;
    }
    public void setStartdate(Date startdate) 
    {
        this.startdate = startdate;
    }

    public Date getStartdate() 
    {
        return startdate;
    }
    public void setDenddate(Date denddate) 
    {
        this.denddate = denddate;
    }

    public Date getDenddate() 
    {
        return denddate;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("processId", getProcessId())
            .append("pend", getPend())
            .append("batch", getBatch())
            .append("orderLevel", getOrderLevel())
            .append("processName", getProcessName())
            .append("productName", getProductName())
            .append("productCode", getProductCode())
            .append("plannedProduction", getPlannedProduction())
            .append("reportedQuantity", getReportedQuantity())
            .append("shopId", getShopId())
            .append("productId", getProductId())
            .append("craftId", getCraftId())
            .append("startdate", getStartdate())
            .append("denddate", getDenddate())
            .append("creator", getCreator())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
